import {createRouter,createWebHistory} from 'vue-router'
import Home from "../pages/Home.vue";
import About from "../pages/About.vue";
import State from "../pages/State.vue";
import Father from "../pages/Father.vue";
import Ele from "../pages/Ele.vue";
import TestForm from "../pages/testForm.vue";
import Test from "../pages/test.vue";
import Charts from "../pages/charts.vue";
const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/home',
            component:Home
        },
        {
            path:'/about',
            component:About
        },
        {
            path:'/state',
            component:State
        },
        {
            path:'/father',
            component:Father
        },
        {
            path:'/ele',
            component:Ele
        },
        {
            path:'/testForm',
            component:TestForm
        },
        {
            path:'/test',
            component:Test
        },
        {
            path:'/charts',
            component:Charts
        }
    ]
})
export default router